import Vue from 'vue'
import App from './App.vue'
import router from './router.js'
import http from './api/index.js'
import mixin from './common/mixin'
import * as filter from './common/filter.js'
import * as echarts from 'echarts'
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
 
Vue.config.productionTip = false

Vue.prototype.$http = http;
Vue.prototype.$echarts = echarts
Vue.use(mixin)
Vue.use(Antd)
Object.keys(filter).forEach(key => {
  Vue.filter(key, filter[key]);
})

new Vue({
	router,
  render: h => h(App),
}).$mount('#app')
